package com.java.demo.Service;

import com.java.demo.Repository.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class service {
    private repository repository;

    @Autowired
    public service(repository repository) {
        this.repository = repository;
    }

    public repository getRepository() {
        return repository;
    }
}
